<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="../skin/style.css" rel="stylesheet" type="text/css" />
<link href="../skin/rss.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
	
    <div class="main">
    	
        
       {loop $CATEGORY $cid $c}
        
        	 <div class="head">{$c[catname]}&nbsp;<a href="{url("?module=rss&rssid=$c[catid]")}" target="_blank"><img src="skin/images/rss.gif" alt="rss" /></a></div>
<ul>
          	
              {php $chids = subcatid($c[catid])}
              {get sql="SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `table_content` WHERE  status=99 and catid in($chids) ORDER BY contentid DESC" rows="20"}
                
                <li><a href="{url($r[url])}" target="{$target}">{str_cut($r[title], 300)}</a><span class="date">{date('Y-m-d',$r[updatetime])}</span></li>
    
              {/get}
            </ul>
        
        {/loop} 
        
        
        
        {loop $data $n $r}
            <li><a href="{url($r[url])}">{str_cut($r[title],46)}</a></li>
        {/loop}


    </div>
    
    <div class="aside">
    	
        <div class="head">栏目分类</div>
        {php $data = subcat(0);}
        <div class="rss">
          <ul>
          {loop $data $n $r}
            <li><a href="{url("?module=rss&catid=$r[catid]")}" id="menu_{$r[catid]}" name="menu_{$r[catid]}"><span>{$r[catname]}</span></a></li>
          {/loop}
          </ul>
        </div>
    
        <div class="head">热门标签</div>
    	<div>
        	<a title="订阅到抓虾" href="http://www.zhuaxia.com/add_channel.php?url={url("?module=rss&respond=output")}" target="_blank">
                <img border="0" src="skin/images/zhuaxia.gif" alt="抓虾" style="margin-bottom: 3px;"/>
                </a>
                <a title="订阅到Rojo" href="http://www.rojo.com/add-subscription?resource={url("?module=rss&respond=output")}" target="_blank">
                <img border="0" src="skin/images/rojo.gif" alt="Rojo" style="margin-bottom: 3px;"/>
              </a>
              <a title="订阅到Google Reader" href="http://fusion.google.com/add?feedurl={url("?module=rss&respond=output")}" target="_blank">
                <img border="0" src="skin/images/google.gif" alt="google reader" style="margin-bottom: 3px;"/>
              </a>
              <a title="订阅到netvibes" href="http://www.netvibes.com/subscribe.php?url={url("?module=rss&respond=output")}" target="_blank">
                <img border="0" src="skin/images/netvibes.gif" alt="netvibes" style="margin-bottom: 3px;"/>
              </a>
              <a title="订阅到My Yahoo" href="http://add.my.yahoo.com/rss?url={url("?module=rss&respond=output")}" target="_blank">
               <img border="0" src="skin/images/yahoo.gif" alt="my yahoo" style="margin-bottom: 3px;"/>
              </a>
             <a title="订阅到newsgator" href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url={url("?module=rss&respond=output")}" target="_blank">
               <img border="0" src="skin/images/newsgator.gif" alt="newsgator" style="margin-bottom: 3px;"/>
             </a>
              <a title="订阅到Bloglines" href="http://www.bloglines.com/sub/{url("?module=rss&respond=output")}" target="_blank">
               <img border="0" src="skin/images/bloglines.gif" alt="bloglines" style="margin-bottom: 3px;"/>
              </a>
              <a title="订阅到鲜果" href="http://www.xianguo.com/subscribe.php?url={url("?module=rss&respond=output")}" target="_blank">
                <img border="0" src="skin/images/xianguo.jpg" alt="鲜果" style="margin-bottom: 3px;"/>
              </a>
              <a title="订阅到哪吒" href="http://inezha.com/add?url={url("?module=rss&respond=output")}" target="_blank">
                <img border="0" src="skin/images/nazha.gif" alt="哪吒" style="margin-bottom: 3px;"/>
              </a>
              <a title="订阅到有道" href="http://reader.yodao.com/#url={url("?module=rss&respond=output")}" target="_blank">
                <img border="0" src="skin/images/youdao.gif" alt="有道" style="margin-bottom: 3px;"/>
              </a>
        </div>
        
    </div>
</div>


{template 'footer.html'}